import { Inject, Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { VideoCategoryEntity } from '../entity/category';

/**
 * 视频分类
 */
@Provide()
export class VideoCategoryService extends BaseService {
  @InjectEntityModel(VideoCategoryEntity)
  videoCategoryEntity: Repository<VideoCategoryEntity>;
}
